package com.sxran.im.handler;

import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sxran.im.bean.MessageReqBody;
import com.sxran.im.dao.ImChatBodyMapper;
import com.sxran.im.info.ImChatBody;
import com.sxran.im.service.ChatService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Slf4j
@Service
public class GetMessageListCmdHandler extends AbstractCmdHandler<MessageReqBody>{
    @Resource
    private ChatService chatService;

    @Override
    public Object doBeanService(MessageReqBody json) {
        return chatService.selectList(json);
    }
}
